package com.sinosoft.brokerchannel.base.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.Valid;

/**
 * 需求名称：[大童理赔渠道平台]<br/>
 * 类描述:[公共的响应Content格式]<br/>
 *
 * @author shilk
 * @version V1.0
 * @date 2017-12-13 15:14
 */
@Data
public class ReqContentVO {

    @ApiModelProperty(value = "唯一标识")
    @NotEmpty(message = "唯一标识不能为空")
    @JsonProperty("UUID")
    private String uuid;

    @ApiModelProperty(value = "业务数据")
    @Valid
    private String bizContent;

    @ApiModelProperty(value = "接口标识")
    @NotEmpty(message = "接口标识不能为空")
    private String serviceName;

    @ApiModelProperty(value = "时间戳,毫秒数")
    private Long timestamp;
}
